<form
  id="add-form"
  class="form-horizontal"
  role="form"
  data-toggle="validator"
  method="POST"
  action=""
>
  <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text">
        </div>
    </div> -->
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input id="c-desc" class="form-control" name="row[desc]" type="text" />
    </div>
  </div>
  <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('Text')}:</label>
    <div class="col-xs-12 col-sm-8">
      <textarea
        id="c-text"
        class="form-control editor"
        rows="5"
        name="row[text]"
        cols="50"
      ></textarea>
    </div>
  </div>
  <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="rich_text"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div> -->
  <!-- <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('Public')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input
        id="c-public"
        class="form-control"
        name="row[public]"
        type="number"
        value="1"
      />
    </div>
  </div> -->
  <!-- <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
    <div class="col-xs-12 col-sm-8">
      <input
        id="c-weigh"
        class="form-control"
        name="row[weigh]"
        type="number"
        value="0"
      />
    </div>
  </div> -->
  <!-- <div class="form-group">
    <label class="control-label col-xs-12 col-sm-2"
      >{:__('Update_time')}:</label
    >
    <div class="col-xs-12 col-sm-8">
      <input
        id="c-update_time"
        class="form-control datetimepicker"
        data-date-format="YYYY-MM-DD HH:mm:ss"
        data-use-current="true"
        name="row[update_time]"
        type="text"
        value="{:date('Y-m-d H:i:s')}"
      />
    </div>
  </div> -->
  <div class="form-group layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
      <button type="submit" class="btn btn-primary btn-embossed disabled">
        {:__('OK')}
      </button>
      <button type="reset" class="btn btn-default btn-embossed">
        {:__('Reset')}
      </button>
    </div>
  </div>
</form>
